package cn.buk.tms.eotms.dao;

import cn.buk.tms.eotms.entity.Customer;

import java.util.List;

/**
 * @author yfdai
 */
public interface CustomerDao {

	/**
	 * 通过企业ID和客户企业ID，查找客户信息
	 * @param ownerId 企业ID
	 * @param customerEnterpriseId 客户对应的企业ID
	 * @return
	 */
	Customer getCustomerByCustomerEnterpriseId(int ownerId, int customerEnterpriseId);

  Customer getCustomerById(int id);

  List<String> getCustomerDepartmentOperator(int ownerId, int customerId, int deptId);
}
